@charset "UTF-8";

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  background: #fff;
}

.logo {
  font-size: 24px;
}

/* ここから下がハンバーガーメニューに関するCSS */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 50%;
  height: 100%;
  position: fixed;
  top: 0;
  right: -50%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #fff;
  transition: .5s;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  right: 0;/* メニューを画面に入れる */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0;
}

/* ヘッダーのスタイル */
.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white; /* 背景色 */
  color: #333;
  padding: 15px 20px;
  border-bottom: 1px solid #ddd; 

}

.header-logo img {
  height: 40px; 
}

.header-items ul {
  display: flex;
  list-style: none;
  padding-left: 0; 
}

.header-items li {
  margin: 0 10px;  /* margin揃える */
}

/* ホバー効果 */
.header-items a {
  color: #333; 
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  line-height: 30px; /* 行の高さを指定→文字を中央揃えになる */
  transition: background-color 0.3s;
  display: block; /* aをblockにすることでクリック範囲が広がる */
}

/* ホバー時の背景色変更 */
.header-items a:hover {
  background-color: #f1f1f1;
  border-radius: 4px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .header-nav {
    padding: 10px; /* スマホ用にパディングを調整 */
  }

  .header-items ul {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .header-items li {
    margin-left: 15px;
  }

  .header-items a {
    padding: 8px 15px;
  }
}
/* ヘッダー終わり */


/* スライダー */
.image-slider {
  text-align: center;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 600px; 
  margin: 0 auto;
  padding-top: 15px;
}

/* Image に対するスタイルを定義 */
#slider-image {
  width: 65%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* サムネイルに対するスタイルの定義 */
.image-thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  overflow-x: auto;
  overflow: hidden;
  margin-bottom: 20px;
}

.thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

.thumbnail:hover {
  transform: scale(1.1);
}

/* ここでスマホ対応する */
@media screen and (max-width: 768px) {
  .thumbnail {
      width: 50px;
      height: 50px;
  }

  .slider-container {
      position: relative;
      width: 100%;
      max-width: 450px;
      margin: 0 auto;
  }
}
/* スライダー終わり */


/* 記事タイトル */
.title-container {
  padding-top: 50px;
  margin: 0 auto;
  text-align: center;
}

.title-container > p{
  font-size: 1.75rem;
}

/* メインのコンテナ */

.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* 中央揃え */
  padding: 20px; /* 全体の余白 */
  box-sizing: border-box; 
}

/* PC向け */
@media screen and (min-width: 1024px) {
  .main-container {
    padding: 0 15%; /* 余白15% */
  }
}

/* スマホ向け */
@media screen and (max-width: 768px) {
  .main-container {
    padding:  30px;
    width: 100%;
  }
}

/* マップ */
.map {
  height: 100%;
  height: auto;
  text-align: center;
}

/* 内容 */
.main-content {
  padding-top: 30px;
}

/* 詳細 */
.detail {
  padding-left: 1rem; /* 詳細を全体的に１文字余白 */
}

.detail > dd {
  padding-left: 1rem; /* ddはさらに１文字余白開ける */
}

/*
.map {
  text-align: center;
  max-width: "100%";
  height: auto;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
}

h2 { 
    font-size: 20px;
    border: 4px solid #000;
    border-radius:15px;
    padding:5px;
    width: 20%;
    }
    
h3 { 
    font-size: 22px;
    border-radius: 25px;
    padding: 10px;
    width: 5%;
    }
h4 { 
    font-size: 22px;
    padding: 5px;
    width: 25%;
    }
*/